<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script src="../js/tools.js"></script>
    <script>

        var n = parseInt('23px') ;
        var m = Math.random() * 100 ;

        var x = parseInt(Math.random() * 100) ;


        // 随机产生一个数20-100之间，判断是不是质数
        var n = rand(20,100) ;
        var res = isZhi(n) ;
        document.write(res) ;

        document.write(isZhi(rand(20,100))) ;

    </script>
    
</body>
</html>